import vue from '@vitejs/plugin-vue'
import vueJsx from '@vitejs/plugin-vue-jsx'
import createSetupExtend from './setup-extend'
import createAutoImport from './auto-import'
import components from "./vue-components"

export default function createVitePlugins() {
  const viteplugins = [vue(), vueJsx()]
  viteplugins.push(createSetupExtend())
  viteplugins.push(createAutoImport())
  viteplugins.push(components())
  return viteplugins
}
